package net.sf.rose.business.bean.action;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Default;
import org.simpleframework.xml.Root;

/**
 * @author fengjian
 * @since 2014-3-27
 */
@Default
@Root(name = "field")
public class FieldBean {

	/** 字段的属性名称 */
	@Attribute
	private String key = null;

	/** 字段的类型 */
	@Attribute
	private String type = null;

	/** 参数的数据格式 */
	@Attribute(required = false)
	private String format = null;

	/** 字段的值 */
	@Attribute
	private String value = null;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
